package itheima.d08;

import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        int age=18;
        Integer i=age;

        Integer i2 = new Integer(age);
        Integer i3 = Integer.valueOf(age);



        age = i;
        int age2 = i2.intValue();

        String ageStr="18";
        int ageNum = Integer.parseInt(ageStr);

          String ageStr2 =ageNum+"";
          String ageStr3 = String.valueOf(ageNum);
          String ageStr4 = Integer.toString(ageNum);
          String agStr5 =Integer.toString(ageNum);
        ArrayList<Double> list = new ArrayList();
//        list.add(18);
        list.add(99.5);
//        list.add(true);
//        list.add("男");
        double ageNum2 = list.get(0);

    }
}
